diff --git a/bindings/bindings-linux-aarch64-R4.2.rs b/bindings/bindings-linux-aarch64-R4.2.rs index 6a429eca..3cf7884f 100644 --- a/bindings/bindings-linux-aarch64-R4.2.rs +++ b/bindings/bindings-linux-aarch64-R4.2.rs @@ -1252,6 +1252,9 @@ extern "C" { arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) @@ -1352,7 +1355,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -1363,9 +1365,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -1380,7 +1380,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( sx: SEXP, @@ -1428,30 +1427,13 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -1618,7 +1600,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; @@ -1652,17 +1633,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; @@ -1722,6 +1695,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -1966,13 +1940,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -2005,8 +1977,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -2029,10 +1999,13 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); diff --git a/bindings/bindings-linux-aarch64-R4.3.rs b/bindings/bindings-linux-aarch64-R4.3.rs index 7bf2283c..3b0cf36d 100644 --- a/bindings/bindings-linux-aarch64-R4.3.rs +++ b/bindings/bindings-linux-aarch64-R4.3.rs @@ -1275,6 +1275,9 @@ extern "C" { arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) @@ -1375,7 +1378,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -1386,9 +1388,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -1403,7 +1403,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( sx: SEXP, @@ -1452,30 +1451,13 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -1642,7 +1624,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; @@ -1676,17 +1657,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -1753,6 +1726,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -1998,13 +1972,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -2037,8 +2009,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -2061,10 +2031,13 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); diff --git a/bindings/bindings-linux-aarch64-R4.4.rs b/bindings/bindings-linux-aarch64-R4.4.rs index 84c6ed27..9078b9c9 100644 --- a/bindings/bindings-linux-aarch64-R4.4.rs +++ b/bindings/bindings-linux-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[repr(C)] #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] @@ -115,7 +115,7 @@ pub const HT_TYPE_IDENTICAL: u32 = 0; pub const HT_TYPE_ADDRESS: u32 = 1; pub const RSTART_VERSION: u32 = 1; pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; +pub const 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; @@ -129,15 +129,15 @@ pub const M_LN_2PI: f64 = 1.8378770664093456; pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; +pub const R_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; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15; @@ -1280,7 +1280,10 @@ extern "C" { arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) -> f64; @@ -1297,7 +1300,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, @@ -1317,6 +1320,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, @@ -1326,7 +1330,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, @@ -1376,7 +1380,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -1387,9 +1390,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -1404,7 +1405,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( sx: SEXP, @@ -1453,30 +1453,13 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -1616,6 +1599,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; @@ -1642,7 +1626,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; @@ -1677,17 +1660,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -1755,6 +1730,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -2000,13 +1976,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -2039,8 +2013,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -2063,10 +2035,13 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); diff --git a/bindings/bindings-linux-aarch64-R4.5-devel.rs b/bindings/bindings-linux-aarch64-R4.5-devel.rs index a467c145..7206462d 100644 --- a/bindings/bindings-linux-aarch64-R4.5-devel.rs +++ b/bindings/bindings-linux-aarch64-R4.5-devel.rs @@ -136,8 +136,8 @@ pub const R_MINOR: &[u8; 4] = b"5.0\0"; pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; pub const R_YEAR: &[u8; 5] = b"2024\0"; pub const R_MONTH: &[u8; 3] = b"06\0"; -pub const R_DAY: &[u8; 3] = b"11\0"; -pub const R_SVN_REVISION: u32 = 86723; +pub const R_DAY: &[u8; 3] = b"22\0"; +pub const R_SVN_REVISION: u32 = 86814; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15; @@ -1274,6 +1274,9 @@ extern "C" { ); #[doc = "../../main/util.c and others :"] pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) @@ -1365,7 +1368,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -1376,9 +1378,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -1393,7 +1393,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( @@ -1443,35 +1442,18 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); pub fn R_mkClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; pub fn R_ClosureFormals(arg1: SEXP) -> SEXP; pub fn R_ClosureBody(arg1: SEXP) -> SEXP; pub fn R_ClosureEnv(arg1: SEXP) -> SEXP; #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; pub fn R_ParentEnv(arg1: SEXP) -> SEXP; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -1639,8 +1621,9 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_getVar(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_getVarEx(arg1: SEXP, arg2: SEXP, arg3: Rboolean, arg4: SEXP) -> SEXP; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; @@ -1674,17 +1657,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -1709,6 +1684,9 @@ extern "C" { pub fn Rf_S3Class(arg1: SEXP) -> SEXP; pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_charIsASCII(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsUTF8(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsLatin1(arg1: SEXP) -> Rboolean; pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; pub fn Rf_mkCharLenCE( arg1: *const ::std::os::raw::c_char, @@ -1746,6 +1724,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -1990,13 +1969,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -2029,8 +2006,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -2053,11 +2028,14 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); diff --git a/bindings/bindings-linux-x86_64-R4.2.rs b/bindings/bindings-linux-x86_64-R4.2.rs index 8aa1df15..5d588250 100644 --- a/bindings/bindings-linux-x86_64-R4.2.rs +++ b/bindings/bindings-linux-x86_64-R4.2.rs @@ -1261,6 +1261,9 @@ extern "C" { arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) @@ -1361,7 +1364,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -1372,9 +1374,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -1389,7 +1389,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( sx: SEXP, @@ -1437,30 +1436,13 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -1627,7 +1609,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; @@ -1661,17 +1642,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; @@ -1731,6 +1704,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -1975,13 +1949,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -2014,8 +1986,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -2038,10 +2008,13 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); diff --git a/bindings/bindings-linux-x86_64-R4.3.rs b/bindings/bindings-linux-x86_64-R4.3.rs index 14114fb9..b1c0da61 100644 --- a/bindings/bindings-linux-x86_64-R4.3.rs +++ b/bindings/bindings-linux-x86_64-R4.3.rs @@ -1284,6 +1284,9 @@ extern "C" { arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) @@ -1384,7 +1387,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -1395,9 +1397,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -1412,7 +1412,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( sx: SEXP, @@ -1461,30 +1460,13 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -1651,7 +1633,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; @@ -1685,17 +1666,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -1762,6 +1735,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -2007,13 +1981,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -2046,8 +2018,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -2070,10 +2040,13 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); diff --git a/bindings/bindings-linux-x86_64-R4.4.rs b/bindings/bindings-linux-x86_64-R4.4.rs index a22ebc9a..5fc6927a 100644 --- a/bindings/bindings-linux-x86_64-R4.4.rs +++ b/bindings/bindings-linux-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Ubuntu clang version 15.0.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[repr(C)] #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] @@ -115,7 +115,7 @@ pub const HT_TYPE_IDENTICAL: u32 = 0; pub const HT_TYPE_ADDRESS: u32 = 1; pub const RSTART_VERSION: u32 = 1; pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; +pub const 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; @@ -129,15 +129,15 @@ pub const M_LN_2PI: f64 = 1.8378770664093456; pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; +pub const R_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; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15; @@ -1289,7 +1289,10 @@ extern "C" { arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); - #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) -> f64; @@ -1306,7 +1309,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, @@ -1326,6 +1329,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, @@ -1335,7 +1339,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, @@ -1385,7 +1389,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -1396,9 +1399,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -1413,7 +1414,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( sx: SEXP, @@ -1462,30 +1462,13 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -1625,6 +1608,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; @@ -1651,7 +1635,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; @@ -1686,17 +1669,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -1764,6 +1739,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -2009,13 +1985,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -2048,8 +2022,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -2072,10 +2044,13 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); diff --git a/bindings/bindings-linux-x86_64-R4.5-devel.rs b/bindings/bindings-linux-x86_64-R4.5-devel.rs index 690467a2..8842db82 100644 --- a/bindings/bindings-linux-x86_64-R4.5-devel.rs +++ b/bindings/bindings-linux-x86_64-R4.5-devel.rs @@ -136,8 +136,8 @@ pub const R_MINOR: &[u8; 4] = b"5.0\0"; pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; pub const R_YEAR: &[u8; 5] = b"2024\0"; pub const R_MONTH: &[u8; 3] = b"06\0"; -pub const R_DAY: &[u8; 3] = b"11\0"; -pub const R_SVN_REVISION: u32 = 86723; +pub const R_DAY: &[u8; 3] = b"22\0"; +pub const R_SVN_REVISION: u32 = 86814; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15; @@ -1283,6 +1283,9 @@ extern "C" { ); #[doc = "../../main/util.c and others :"] pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) @@ -1374,7 +1377,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -1385,9 +1387,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -1402,7 +1402,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( @@ -1452,35 +1451,18 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); pub fn R_mkClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; pub fn R_ClosureFormals(arg1: SEXP) -> SEXP; pub fn R_ClosureBody(arg1: SEXP) -> SEXP; pub fn R_ClosureEnv(arg1: SEXP) -> SEXP; #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; pub fn R_ParentEnv(arg1: SEXP) -> SEXP; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -1648,8 +1630,9 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_getVar(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_getVarEx(arg1: SEXP, arg2: SEXP, arg3: Rboolean, arg4: SEXP) -> SEXP; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; @@ -1683,17 +1666,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -1718,6 +1693,9 @@ extern "C" { pub fn Rf_S3Class(arg1: SEXP) -> SEXP; pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_charIsASCII(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsUTF8(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsLatin1(arg1: SEXP) -> Rboolean; pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; pub fn Rf_mkCharLenCE( arg1: *const ::std::os::raw::c_char, @@ -1755,6 +1733,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -1999,13 +1978,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -2038,8 +2015,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -2062,11 +2037,14 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); diff --git a/bindings/bindings-macos-aarch64-R4.2.rs b/bindings/bindings-macos-aarch64-R4.2.rs index e77bfb42..a06b75dc 100644 --- a/bindings/bindings-macos-aarch64-R4.2.rs +++ b/bindings/bindings-macos-aarch64-R4.2.rs @@ -1262,6 +1262,9 @@ extern "C" { arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) @@ -1362,7 +1365,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -1373,9 +1375,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -1390,7 +1390,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( sx: SEXP, @@ -1438,30 +1437,13 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -1628,7 +1610,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; @@ -1662,17 +1643,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; @@ -1732,6 +1705,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -1976,13 +1950,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -2015,8 +1987,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -2039,10 +2009,13 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); diff --git a/bindings/bindings-macos-aarch64-R4.3.rs b/bindings/bindings-macos-aarch64-R4.3.rs index 16bdc5a2..86343ca7 100644 --- a/bindings/bindings-macos-aarch64-R4.3.rs +++ b/bindings/bindings-macos-aarch64-R4.3.rs @@ -1285,6 +1285,9 @@ extern "C" { arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) @@ -1385,7 +1388,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -1396,9 +1398,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -1413,7 +1413,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( sx: SEXP, @@ -1462,30 +1461,13 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -1652,7 +1634,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; @@ -1686,17 +1667,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -1763,6 +1736,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -2008,13 +1982,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -2047,8 +2019,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -2071,10 +2041,13 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); diff --git a/bindings/bindings-macos-aarch64-R4.4.rs b/bindings/bindings-macos-aarch64-R4.4.rs index 630c4a9a..d49187fe 100644 --- a/bindings/bindings-macos-aarch64-R4.4.rs +++ b/bindings/bindings-macos-aarch64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Homebrew clang version 18.1.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[repr(C)] #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] @@ -116,7 +116,7 @@ pub const HT_TYPE_IDENTICAL: u32 = 0; pub const HT_TYPE_ADDRESS: u32 = 1; pub const RSTART_VERSION: u32 = 1; pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; +pub const 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; @@ -130,15 +130,15 @@ pub const M_LN_2PI: f64 = 1.8378770664093456; pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; +pub const R_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; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15; @@ -1284,13 +1284,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 = "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 = "this group is not API"] + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) -> f64; @@ -1307,7 +1312,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, @@ -1327,6 +1332,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, @@ -1336,7 +1342,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, @@ -1386,7 +1392,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -1397,9 +1402,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -1414,7 +1417,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( sx: SEXP, @@ -1463,30 +1465,13 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -1626,6 +1611,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; @@ -1652,7 +1638,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; @@ -1687,17 +1672,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -1765,6 +1742,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -2010,13 +1988,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -2049,8 +2025,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -2073,10 +2047,13 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); diff --git a/bindings/bindings-macos-aarch64-R4.5-devel.rs b/bindings/bindings-macos-aarch64-R4.5-devel.rs index 79955ddc..9aff69ae 100644 --- a/bindings/bindings-macos-aarch64-R4.5-devel.rs +++ b/bindings/bindings-macos-aarch64-R4.5-devel.rs @@ -137,8 +137,8 @@ pub const R_MINOR: &[u8; 4] = b"5.0\0"; pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; pub const R_YEAR: &[u8; 5] = b"2024\0"; pub const R_MONTH: &[u8; 3] = b"06\0"; -pub const R_DAY: &[u8; 3] = b"12\0"; -pub const R_SVN_REVISION: u32 = 86726; +pub const R_DAY: &[u8; 3] = b"22\0"; +pub const R_SVN_REVISION: u32 = 86814; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15; @@ -1284,6 +1284,10 @@ extern "C" { ); #[doc = "../../main/util.c and others :"] pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "attribute_hidden and no longer used.\nvoid\tsetIVector(int*, int, int);\nvoid\tsetRVector(double*, int, double);\n/\n/* Not API"] + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) @@ -1375,7 +1379,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -1386,9 +1389,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -1403,7 +1404,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( @@ -1453,35 +1453,18 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); pub fn R_mkClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; pub fn R_ClosureFormals(arg1: SEXP) -> SEXP; pub fn R_ClosureBody(arg1: SEXP) -> SEXP; pub fn R_ClosureEnv(arg1: SEXP) -> SEXP; #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; pub fn R_ParentEnv(arg1: SEXP) -> SEXP; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -1649,8 +1632,9 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_getVar(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_getVarEx(arg1: SEXP, arg2: SEXP, arg3: Rboolean, arg4: SEXP) -> SEXP; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; @@ -1684,17 +1668,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -1719,6 +1695,9 @@ extern "C" { pub fn Rf_S3Class(arg1: SEXP) -> SEXP; pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_charIsASCII(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsUTF8(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsLatin1(arg1: SEXP) -> Rboolean; pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; pub fn Rf_mkCharLenCE( arg1: *const ::std::os::raw::c_char, @@ -1756,6 +1735,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -2000,13 +1980,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -2039,8 +2017,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -2063,11 +2039,14 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); diff --git a/bindings/bindings-macos-x86_64-R4.2.rs b/bindings/bindings-macos-x86_64-R4.2.rs index d5066f94..b49f8103 100644 --- a/bindings/bindings-macos-x86_64-R4.2.rs +++ b/bindings/bindings-macos-x86_64-R4.2.rs @@ -1270,6 +1270,9 @@ extern "C" { arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) @@ -1370,7 +1373,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -1381,9 +1383,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -1398,7 +1398,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( sx: SEXP, @@ -1446,30 +1445,13 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -1636,7 +1618,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; @@ -1670,17 +1651,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; @@ -1740,6 +1713,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -1984,13 +1958,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -2023,8 +1995,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -2047,10 +2017,13 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); diff --git a/bindings/bindings-macos-x86_64-R4.4.rs b/bindings/bindings-macos-x86_64-R4.4.rs index aa962543..5fa5a917 100644 --- a/bindings/bindings-macos-x86_64-R4.4.rs +++ b/bindings/bindings-macos-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: Homebrew clang version 18.1.7 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ #[repr(C)] #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)] @@ -116,7 +116,7 @@ pub const HT_TYPE_IDENTICAL: u32 = 0; pub const HT_TYPE_ADDRESS: u32 = 1; pub const RSTART_VERSION: u32 = 1; pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; +pub const 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; @@ -130,15 +130,15 @@ pub const M_LN_2PI: f64 = 1.8378770664093456; pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; +pub const R_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; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15; @@ -1292,13 +1292,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 = "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 = "this group is not API"] + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) -> f64; @@ -1315,7 +1320,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, @@ -1335,6 +1340,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, @@ -1344,7 +1350,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, @@ -1394,7 +1400,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -1405,9 +1410,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -1422,7 +1425,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( sx: SEXP, @@ -1471,30 +1473,13 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -1634,6 +1619,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; @@ -1660,7 +1646,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; @@ -1695,17 +1680,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -1773,6 +1750,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -2018,13 +1996,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -2057,8 +2033,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -2081,10 +2055,13 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; pub fn R_FlushConsole(); pub fn Rf_onintr(); pub fn Rf_onintrNoResume(); diff --git a/bindings/bindings-windows-x86_64-R4.2.rs b/bindings/bindings-windows-x86_64-R4.2.rs index b12588ec..d355f508 100644 --- a/bindings/bindings-windows-x86_64-R4.2.rs +++ b/bindings/bindings-windows-x86_64-R4.2.rs @@ -1050,6 +1050,9 @@ extern "C" { arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) @@ -1150,7 +1153,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -1161,9 +1163,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -1178,7 +1178,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( sx: SEXP, @@ -1226,30 +1225,13 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -1416,7 +1398,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; @@ -1450,17 +1431,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); pub fn Rf_setAttrib(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; @@ -1520,6 +1493,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -1764,13 +1738,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -1803,8 +1775,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -1827,10 +1797,13 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; #[doc = "C stack limit"] pub static mut R_CStackLimit: usize; pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); diff --git a/bindings/bindings-windows-x86_64-R4.3.rs b/bindings/bindings-windows-x86_64-R4.3.rs index bbe2df45..13b51c2d 100644 --- a/bindings/bindings-windows-x86_64-R4.3.rs +++ b/bindings/bindings-windows-x86_64-R4.3.rs @@ -1073,6 +1073,9 @@ extern "C" { arg3: ::std::os::raw::c_int, ); pub fn Rf_setRVector(arg1: *mut f64, arg2: ::std::os::raw::c_int, arg3: f64); + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\"."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) @@ -1173,7 +1176,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -1184,9 +1186,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -1201,7 +1201,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( sx: SEXP, @@ -1250,30 +1249,13 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -1440,7 +1422,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; @@ -1474,17 +1455,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -1551,6 +1524,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -1796,13 +1770,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -1835,8 +1807,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -1859,10 +1829,13 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; #[doc = "C stack limit"] pub static mut R_CStackLimit: usize; pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); diff --git a/bindings/bindings-windows-x86_64-R4.4.rs b/bindings/bindings-windows-x86_64-R4.4.rs index 4b8e5165..c569b52f 100644 --- a/bindings/bindings-windows-x86_64-R4.4.rs +++ b/bindings/bindings-windows-x86_64-R4.4.rs @@ -2,7 +2,7 @@ /* libR-sys version: 0.7.0 */ /* bindgen clang version: clang version 18.1.6 */ -/* r version: 4.4.0 */ +/* r version: 4.4.1 */ pub const SINGLESXP: u32 = 302; pub const R_LEN_T_MAX: u32 = 2147483647; @@ -33,7 +33,7 @@ pub const IDENT_EXTPTR_AS_REF: u32 = 64; pub const HT_TYPE_IDENTICAL: u32 = 0; pub const HT_TYPE_ADDRESS: u32 = 1; pub const __STDC_WANT_IEC_60559_FUNCS_EXT__: u32 = 1; -pub const R_VERSION_STRING: &[u8; 6] = b"4.4.0\0"; +pub const 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; @@ -47,15 +47,15 @@ pub const M_LN_2PI: f64 = 1.8378770664093456; pub const M_LN_SQRT_PI: f64 = 0.5723649429247001; pub const M_LN_SQRT_2PI: f64 = 0.9189385332046728; pub const M_LN_SQRT_PId2: f64 = 0.22579135264472744; -pub const R_VERSION: u32 = 263168; -pub const R_NICK: &[u8; 10] = b"Puppy Cup\0"; +pub const R_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; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15; @@ -1072,13 +1072,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 = "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 = "this group is not API"] + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; + #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) -> f64; @@ -1095,7 +1100,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, @@ -1115,6 +1120,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, @@ -1124,7 +1130,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, @@ -1174,7 +1180,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -1185,9 +1190,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -1202,7 +1205,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( sx: SEXP, @@ -1251,30 +1253,13 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -1414,6 +1399,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; @@ -1440,7 +1426,6 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; @@ -1475,17 +1460,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -1553,6 +1530,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -1798,13 +1776,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -1837,8 +1813,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -1861,10 +1835,13 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "stuff that probably shouldn't be in the API but is getting used"] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; #[doc = "C stack limit"] pub static mut R_CStackLimit: usize; pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); diff --git a/bindings/bindings-windows-x86_64-R4.5-devel.rs b/bindings/bindings-windows-x86_64-R4.5-devel.rs index 112614da..bd7977ee 100644 --- a/bindings/bindings-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-windows-x86_64-R4.5-devel.rs @@ -54,8 +54,8 @@ pub const R_MINOR: &[u8; 4] = b"5.0\0"; pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; pub const R_YEAR: &[u8; 5] = b"2024\0"; pub const R_MONTH: &[u8; 3] = b"06\0"; -pub const R_DAY: &[u8; 3] = b"11\0"; -pub const R_SVN_REVISION: u32 = 86723; +pub const R_DAY: &[u8; 3] = b"24\0"; +pub const R_SVN_REVISION: u32 = 86823; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15; @@ -1072,6 +1072,10 @@ extern "C" { ); #[doc = "../../main/util.c and others :"] pub fn R_ExpandFileName(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char; + #[doc = "attribute_hidden and no longer used.\nvoid\tsetIVector(int*, int, int);\nvoid\tsetRVector(double*, int, double);\n/\n/* Not API"] + pub fn Rf_StringFalse(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_StringTrue(arg1: *const ::std::os::raw::c_char) -> Rboolean; + pub fn Rf_isBlankString(arg1: *const ::std::os::raw::c_char) -> Rboolean; #[doc = "These two are guaranteed to use '.' as the decimal point,\nand to accept \"NA\". Documented since 4.4.0 patched."] pub fn R_atof(str_: *const ::std::os::raw::c_char) -> f64; pub fn R_strtod(c: *const ::std::os::raw::c_char, end: *mut *mut ::std::os::raw::c_char) @@ -1163,7 +1167,6 @@ extern "C" { pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; pub fn MARK(x: SEXP) -> ::std::os::raw::c_int; - pub fn NAMED(x: SEXP) -> ::std::os::raw::c_int; pub fn REFCNT(x: SEXP) -> ::std::os::raw::c_int; pub fn SET_ATTRIB(x: SEXP, v: SEXP); pub fn DUPLICATE_ATTRIB(to: SEXP, from: SEXP); @@ -1174,9 +1177,7 @@ extern "C" { #[doc = "Vector Access Functions"] pub fn LENGTH(x: SEXP) -> ::std::os::raw::c_int; pub fn XLENGTH(x: SEXP) -> R_xlen_t; - pub fn TRUELENGTH(x: SEXP) -> R_xlen_t; pub fn IS_LONG_VEC(x: SEXP) -> ::std::os::raw::c_int; - pub fn LEVELS(x: SEXP) -> ::std::os::raw::c_int; pub fn LOGICAL(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn RAW(x: SEXP) -> *mut Rbyte; @@ -1191,7 +1192,6 @@ extern "C" { pub fn VECTOR_ELT(x: SEXP, i: R_xlen_t) -> SEXP; pub fn SET_STRING_ELT(x: SEXP, i: R_xlen_t, v: SEXP); pub fn SET_VECTOR_ELT(x: SEXP, i: R_xlen_t, v: SEXP) -> SEXP; - pub fn STRING_PTR(x: SEXP) -> *mut SEXP; pub fn STRING_PTR_RO(x: SEXP) -> *const SEXP; pub fn VECTOR_PTR_RO(x: SEXP) -> *const SEXP; pub fn INTEGER_GET_REGION( @@ -1241,35 +1241,18 @@ extern "C" { pub fn FORMALS(x: SEXP) -> SEXP; pub fn BODY(x: SEXP) -> SEXP; pub fn CLOENV(x: SEXP) -> SEXP; - pub fn RDEBUG(x: SEXP) -> ::std::os::raw::c_int; pub fn RSTEP(x: SEXP) -> ::std::os::raw::c_int; pub fn RTRACE(x: SEXP) -> ::std::os::raw::c_int; - pub fn SET_RDEBUG(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RSTEP(x: SEXP, v: ::std::os::raw::c_int); pub fn SET_RTRACE(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_FORMALS(x: SEXP, v: SEXP); - pub fn SET_BODY(x: SEXP, v: SEXP); - pub fn SET_CLOENV(x: SEXP, v: SEXP); pub fn R_mkClosure(arg1: SEXP, arg2: SEXP, arg3: SEXP) -> SEXP; pub fn R_ClosureFormals(arg1: SEXP) -> SEXP; pub fn R_ClosureBody(arg1: SEXP) -> SEXP; pub fn R_ClosureEnv(arg1: SEXP) -> SEXP; #[doc = "Symbol Access Functions"] pub fn PRINTNAME(x: SEXP) -> SEXP; - pub fn SYMVALUE(x: SEXP) -> SEXP; - pub fn INTERNAL(x: SEXP) -> SEXP; - pub fn DDVAL(x: SEXP) -> ::std::os::raw::c_int; - #[doc = "Environment Access Functions"] - pub fn FRAME(x: SEXP) -> SEXP; pub fn ENCLOS(x: SEXP) -> SEXP; - pub fn HASHTAB(x: SEXP) -> SEXP; - pub fn ENVFLAGS(x: SEXP) -> ::std::os::raw::c_int; pub fn R_ParentEnv(arg1: SEXP) -> SEXP; - #[doc = "Promise Access Functions"] - pub fn PRCODE(x: SEXP) -> SEXP; - pub fn PRENV(x: SEXP) -> SEXP; - pub fn PRVALUE(x: SEXP) -> SEXP; - pub fn PRSEEN(x: SEXP) -> ::std::os::raw::c_int; #[doc = "External pointer access macros"] pub fn EXTPTR_PROT(arg1: SEXP) -> SEXP; pub fn EXTPTR_TAG(arg1: SEXP) -> SEXP; @@ -1437,8 +1420,9 @@ extern "C" { pub fn Rf_findFun(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVar(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_findVarInFrame(arg1: SEXP, arg2: SEXP) -> SEXP; - pub fn Rf_findVarInFrame3(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; pub fn R_existsVarInFrame(arg1: SEXP, arg2: SEXP) -> Rboolean; + pub fn R_getVar(arg1: SEXP, arg2: SEXP, arg3: Rboolean) -> SEXP; + pub fn R_getVarEx(arg1: SEXP, arg2: SEXP, arg3: Rboolean, arg4: SEXP) -> SEXP; pub fn R_removeVarFromFrame(arg1: SEXP, arg2: SEXP); pub fn Rf_getAttrib(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_GetArrayDimnames(arg1: SEXP) -> SEXP; @@ -1472,17 +1456,9 @@ extern "C" { pub fn Rf_namesgets(arg1: SEXP, arg2: SEXP) -> SEXP; pub fn Rf_mkChar(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_mkCharLen(arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn Rf_NonNullStringMatch(arg1: SEXP, arg2: SEXP) -> Rboolean; pub fn Rf_ncols(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nrows(arg1: SEXP) -> ::std::os::raw::c_int; pub fn Rf_nthcdr(arg1: SEXP, arg2: ::std::os::raw::c_int) -> SEXP; - pub fn R_nchar( - string: SEXP, - type_: nchar_type, - allowNA: Rboolean, - keepNA: Rboolean, - msg_name: *const ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; pub fn R_ParseEvalString(arg1: *const ::std::os::raw::c_char, arg2: SEXP) -> SEXP; pub fn R_ParseString(arg1: *const ::std::os::raw::c_char) -> SEXP; pub fn Rf_PrintValue(arg1: SEXP); @@ -1507,6 +1483,9 @@ extern "C" { pub fn Rf_S3Class(arg1: SEXP) -> SEXP; pub fn Rf_isBasicClass(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; pub fn Rf_getCharCE(arg1: SEXP) -> cetype_t; + pub fn Rf_charIsASCII(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsUTF8(arg1: SEXP) -> Rboolean; + pub fn Rf_charIsLatin1(arg1: SEXP) -> Rboolean; pub fn Rf_mkCharCE(arg1: *const ::std::os::raw::c_char, arg2: cetype_t) -> SEXP; pub fn Rf_mkCharLenCE( arg1: *const ::std::os::raw::c_char, @@ -1544,6 +1523,7 @@ extern "C" { pub fn R_WeakRefKey(w: SEXP) -> SEXP; pub fn R_WeakRefValue(w: SEXP) -> SEXP; pub fn R_RunWeakRefFinalizer(w: SEXP); + pub fn R_ClosureExpr(arg1: SEXP) -> SEXP; pub fn R_BytecodeExpr(e: SEXP) -> SEXP; #[doc = "Protected evaluation"] pub fn R_ToplevelExec( @@ -1788,13 +1768,11 @@ extern "C" { pub fn Rf_ScalarReal(arg1: f64) -> SEXP; pub fn Rf_ScalarString(arg1: SEXP) -> SEXP; pub fn Rf_xlength(arg1: SEXP) -> R_xlen_t; - pub fn XTRUELENGTH(x: SEXP) -> R_xlen_t; pub fn LENGTH_EX( x: SEXP, file: *const ::std::os::raw::c_char, line: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int; - pub fn XLENGTH_EX(x: SEXP) -> R_xlen_t; pub fn Rf_protect(arg1: SEXP) -> SEXP; pub fn Rf_unprotect(arg1: ::std::os::raw::c_int); pub fn R_ProtectWithIndex(arg1: SEXP, arg2: *mut PROTECT_INDEX); @@ -1827,8 +1805,6 @@ extern "C" { pub fn R_set_altrep_data2(x: SEXP, v: SEXP); pub fn LOGICAL0(x: SEXP) -> *mut ::std::os::raw::c_int; pub fn INTEGER0(x: SEXP) -> *mut ::std::os::raw::c_int; - pub fn REAL0(x: SEXP) -> *mut f64; - pub fn COMPLEX0(x: SEXP) -> *mut Rcomplex; pub fn RAW0(x: SEXP) -> *mut Rbyte; pub fn ALTREP(x: SEXP) -> ::std::os::raw::c_int; #[doc = "public C interface"] @@ -1851,11 +1827,14 @@ extern "C" { data: *mut ::std::os::raw::c_void, ); pub fn R_clrhash(h: R_hashtab_type); - #[doc = "Rest of this file\nStuff that is not API and probably should not be but is getting used."] - pub fn SET_TYPEOF(x: SEXP, v: ::std::os::raw::c_int); #[doc = "used by Rcpp (not?), Matrix and more and in an example in R-exts."] pub fn SET_OBJECT(x: SEXP, v: ::std::os::raw::c_int); - pub fn SET_GROWABLE_BIT(x: SEXP); + pub fn IS_SCALAR(x: SEXP, type_: ::std::os::raw::c_int) -> ::std::os::raw::c_int; + pub fn Rf_psmatch( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: Rboolean, + ) -> Rboolean; #[doc = "C stack limit"] pub static mut R_CStackLimit: usize; pub fn Rf_endEmbeddedR(fatal: ::std::os::raw::c_int); diff --git a/nonAPI.txt b/nonAPI.txt index 18fe2cbd..5759db4e 100644 --- a/nonAPI.txt +++ b/nonAPI.txt @@ -1,15 +1,30 @@ AllDevicesKilled Brent_fmin +COMPLEX0 +DDVAL +ENSURE_NAMEDMAX +ENVFLAGS +FRAME +HASHTAB +INTERNAL +IS_ASCII IS_GROWABLE -IS_SCALAR +IS_UTF8 +LEVELS +NAMED OutDec +PRCODE +PRENV PRIMOFFSET +PRSEEN +PRVALUE RC_fopen +RDEBUG +REAL0 R_CStackLimit R_CStackStart R_CleanTempDir R_ClearerrConsole -R_ClosureExpr R_CollectFromIndex R_CompiledFileName R_Consolefile @@ -86,6 +101,7 @@ R_ignore_SIGPIPE R_isForkedChild R_isMethodsDispatchOn R_moduleCdynload +R_nchar R_new_custom_connection R_opendir R_primitive_generic @@ -125,11 +141,10 @@ Rf_EncodeReal Rf_GPretty Rf_KillAllDevices Rf_NewEnvironment +Rf_NonNullStringMatch Rf_PrintDefaults Rf_ReplIteration Rf_Seql -Rf_StringFalse -Rf_StringTrue Rf_addTaskCallback Rf_begincontext Rf_callToplevelHandlers @@ -142,6 +157,7 @@ Rf_dpptr Rf_endEmbeddedR Rf_endcontext Rf_envlength +Rf_findVarInFrame3 Rf_formatComplex Rf_formatInteger Rf_formatLogical @@ -149,7 +165,6 @@ Rf_formatReal Rf_initEmbeddedR Rf_init_con Rf_initialize_R -Rf_isBlankString Rf_isProtected Rf_jump_to_toplevel Rf_mainloop @@ -158,7 +173,6 @@ Rf_mkFalse Rf_printNamedVector Rf_printRealVector Rf_printVector -Rf_psmatch Rf_removeTaskCallbackByIndex Rf_removeTaskCallbackByName Rf_setSVector @@ -169,10 +183,10 @@ Rf_strchr Rf_strrchr Rf_ucstomb Rf_utf8towcs +Rf_wait_usec Rf_wcstoutf8 Rg_PolledEvents Rg_set_col_ptrs -Rg_wait_usec Ri18n_iswctype Ri18n_wcswidth Ri18n_wctype @@ -186,22 +200,33 @@ Rsockwrite Runzip SETLENGTH SETLEVELS +SET_BODY +SET_CLOENV SET_ENCLOS SET_ENVFLAGS +SET_FORMALS SET_FRAME -SET_GROWABLE +SET_GROWABLE_BIT SET_HASHTAB SET_NAMED SET_PRCODE SET_PRENV +SET_PRSEEN SET_PRVALUE +SET_RDEBUG SET_S4_OBJECT SET_TRUELENGTH +SET_TYPEOF STDVEC_DATAPTR +STRING_PTR +SYMVALUE SaveAction +TRUELENGTH UNIMPLEMENTED_TYPE UNSET_S4_OBJECT -addInputHandler +VECTOR_PTR +XLENGTH_EX +XTRUELENGTH baseRegisterIndex call_R cg_ @@ -212,6 +237,7 @@ csduplicated currentTime dcar dcdr +ddfind do_Rprof do_Rprofmem do_X11 @@ -240,7 +266,6 @@ freeRUser free_R_HOME getConnection getDLLVersion -getInputHandler getPRIMNAME getRUser getSelectedHandler @@ -281,7 +306,6 @@ ptr_do_dataviewer ptr_do_selectlist pythag_ readconsolecfg -removeInputHandler rg_ rs_ run_Rmainloop