From 83f94ed66537a8c22277f35e52a798d124c071d1 Mon Sep 17 00:00:00 2001 From: Mossa Date: Sun, 2 Jun 2024 11:16:02 +0200 Subject: [PATCH 1/2] [generate bindings] From ff94e12a7bc4f8099035ca8d2a9ab1c6f2ff4889 Mon Sep 17 00:00:00 2001 From: CGMossa Date: Sun, 2 Jun 2024 09:24:50 +0000 Subject: [PATCH 2/2] Update bindings [skip ci] --- bindings/bindings-linux-aarch64-R4.5-devel.rs | 15 +++++---------- bindings/bindings-linux-x86_64-R4.5-devel.rs | 15 +++++---------- bindings/bindings-macos-aarch64-R4.3.rs | 2 +- bindings/bindings-macos-aarch64-R4.4.rs | 2 +- bindings/bindings-macos-aarch64-R4.5-devel.rs | 2 +- bindings/bindings-macos-x86_64-R4.4.rs | 2 +- bindings/bindings-windows-x86_64-R4.5-devel.rs | 17 ++++++----------- 7 files changed, 20 insertions(+), 35 deletions(-) diff --git a/bindings/bindings-linux-aarch64-R4.5-devel.rs b/bindings/bindings-linux-aarch64-R4.5-devel.rs index 26fa35f1..33d60a26 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"05\0"; -pub const R_DAY: &[u8; 3] = b"08\0"; -pub const R_SVN_REVISION: u32 = 86528; +pub const R_DAY: &[u8; 3] = b"31\0"; +pub const R_SVN_REVISION: u32 = 86660; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15; @@ -1359,6 +1359,8 @@ extern "C" { pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; pub fn Rf_isString(s: SEXP) -> Rboolean; pub fn Rf_isObject(s: SEXP) -> Rboolean; + pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; + pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; #[doc = "General Cons Cell Attributes"] pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; @@ -1603,6 +1605,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; @@ -1712,12 +1715,6 @@ extern "C" { ce_out: cetype_t, subst: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; #[doc = "Calling a function with arguments evaluated"] pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; #[doc = "External pointer interface"] @@ -1876,7 +1873,6 @@ extern "C" { ); pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; #[doc = "slot management (in attrib.c)"] pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; @@ -1907,7 +1903,6 @@ extern "C" { pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); #[doc = "Shutdown actions"] pub fn R_dot_Last(); pub fn R_RunExitFinalizers(); diff --git a/bindings/bindings-linux-x86_64-R4.5-devel.rs b/bindings/bindings-linux-x86_64-R4.5-devel.rs index 29bd14aa..dd2a1d85 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"05\0"; -pub const R_DAY: &[u8; 3] = b"08\0"; -pub const R_SVN_REVISION: u32 = 86528; +pub const R_DAY: &[u8; 3] = b"31\0"; +pub const R_SVN_REVISION: u32 = 86660; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15; @@ -1368,6 +1368,8 @@ extern "C" { pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; pub fn Rf_isString(s: SEXP) -> Rboolean; pub fn Rf_isObject(s: SEXP) -> Rboolean; + pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; + pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; #[doc = "General Cons Cell Attributes"] pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; @@ -1612,6 +1614,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; @@ -1721,12 +1724,6 @@ extern "C" { ce_out: cetype_t, subst: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; #[doc = "Calling a function with arguments evaluated"] pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; #[doc = "External pointer interface"] @@ -1885,7 +1882,6 @@ extern "C" { ); pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; #[doc = "slot management (in attrib.c)"] pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; @@ -1916,7 +1912,6 @@ extern "C" { pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); #[doc = "Shutdown actions"] pub fn R_dot_Last(); pub fn R_RunExitFinalizers(); diff --git a/bindings/bindings-macos-aarch64-R4.3.rs b/bindings/bindings-macos-aarch64-R4.3.rs index 8589198c..a7be8e08 100644 --- a/bindings/bindings-macos-aarch64-R4.3.rs +++ b/bindings/bindings-macos-aarch64-R4.3.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 17.0.6 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.3.3 */ #[repr(C)] diff --git a/bindings/bindings-macos-aarch64-R4.4.rs b/bindings/bindings-macos-aarch64-R4.4.rs index cd066d21..444ea808 100644 --- a/bindings/bindings-macos-aarch64-R4.4.rs +++ b/bindings/bindings-macos-aarch64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 17.0.6 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.4.0 */ #[repr(C)] diff --git a/bindings/bindings-macos-aarch64-R4.5-devel.rs b/bindings/bindings-macos-aarch64-R4.5-devel.rs index a2c4eb8e..404f8027 100644 --- a/bindings/bindings-macos-aarch64-R4.5-devel.rs +++ b/bindings/bindings-macos-aarch64-R4.5-devel.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 17.0.6 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.5.0-devel */ #[repr(C)] diff --git a/bindings/bindings-macos-x86_64-R4.4.rs b/bindings/bindings-macos-x86_64-R4.4.rs index ded7417d..40b6b1a5 100644 --- a/bindings/bindings-macos-x86_64-R4.4.rs +++ b/bindings/bindings-macos-x86_64-R4.4.rs @@ -1,7 +1,7 @@ /* automatically generated by rust-bindgen 0.69.4 */ /* libR-sys version: 0.7.0 */ -/* bindgen clang version: Homebrew clang version 17.0.6 */ +/* bindgen clang version: Homebrew clang version 18.1.6 */ /* r version: 4.4.0 */ #[repr(C)] diff --git a/bindings/bindings-windows-x86_64-R4.5-devel.rs b/bindings/bindings-windows-x86_64-R4.5-devel.rs index 0abda463..e46eceab 100644 --- a/bindings/bindings-windows-x86_64-R4.5-devel.rs +++ b/bindings/bindings-windows-x86_64-R4.5-devel.rs @@ -53,9 +53,9 @@ pub const R_MAJOR: &[u8; 2] = b"4\0"; pub const R_MINOR: &[u8; 4] = b"5.0\0"; pub const R_STATUS: &[u8; 29] = b"Under development (unstable)\0"; pub const R_YEAR: &[u8; 5] = b"2024\0"; -pub const R_MONTH: &[u8; 3] = b"05\0"; -pub const R_DAY: &[u8; 3] = b"10\0"; -pub const R_SVN_REVISION: u32 = 86529; +pub const R_MONTH: &[u8; 3] = b"06\0"; +pub const R_DAY: &[u8; 3] = b"01\0"; +pub const R_SVN_REVISION: u32 = 86664; pub const R_GE_definitions: u32 = 13; pub const R_GE_deviceClip: u32 = 14; pub const R_GE_group: u32 = 15; @@ -1157,6 +1157,8 @@ extern "C" { pub fn Rf_isEnvironment(s: SEXP) -> Rboolean; pub fn Rf_isString(s: SEXP) -> Rboolean; pub fn Rf_isObject(s: SEXP) -> Rboolean; + pub fn MAYBE_SHARED(x: SEXP) -> ::std::os::raw::c_int; + pub fn NO_REFERENCES(x: SEXP) -> ::std::os::raw::c_int; #[doc = "General Cons Cell Attributes"] pub fn ATTRIB(x: SEXP) -> SEXP; pub fn OBJECT(x: SEXP) -> ::std::os::raw::c_int; @@ -1401,6 +1403,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; @@ -1510,12 +1513,6 @@ extern "C" { ce_out: cetype_t, subst: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char; - pub fn Rf_reEnc3( - x: *const ::std::os::raw::c_char, - fromcode: *const ::std::os::raw::c_char, - tocode: *const ::std::os::raw::c_char, - subst: ::std::os::raw::c_int, - ) -> *const ::std::os::raw::c_char; #[doc = "Calling a function with arguments evaluated"] pub fn R_forceAndCall(e: SEXP, n: ::std::os::raw::c_int, rho: SEXP) -> SEXP; #[doc = "External pointer interface"] @@ -1674,7 +1671,6 @@ extern "C" { ); pub fn R_Serialize(s: SEXP, ops: R_outpstream_t); pub fn R_Unserialize(ips: R_inpstream_t) -> SEXP; - pub fn R_SerializeInfo(ips: R_inpstream_t) -> SEXP; #[doc = "slot management (in attrib.c)"] pub fn R_do_slot(obj: SEXP, name: SEXP) -> SEXP; pub fn R_do_slot_assign(obj: SEXP, name: SEXP, value: SEXP) -> SEXP; @@ -1705,7 +1701,6 @@ extern "C" { pub fn R_NewPreciousMSet(arg1: ::std::os::raw::c_int) -> SEXP; pub fn R_PreserveInMSet(x: SEXP, mset: SEXP); pub fn R_ReleaseFromMSet(x: SEXP, mset: SEXP); - pub fn R_ReleaseMSet(mset: SEXP, keepSize: ::std::os::raw::c_int); #[doc = "Shutdown actions"] pub fn R_dot_Last(); pub fn R_RunExitFinalizers();