From 3a19c448013a5f636bcbf2142feb89349901a3f9 Mon Sep 17 00:00:00 2001 From: cgmossa Date: Sat, 20 Jul 2024 00:58:32 +0200 Subject: [PATCH] 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, );